import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user' // 用户信息
import nav from './modules/nav' // 菜单
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    user,
    nav
  },
  getters
})
